package com.ruoyi.combat.service.apprisk.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.combat.mapper.apprisk.YuequanaMapper;
import com.ruoyi.combat.domain.apprisk.Yuequana;
import com.ruoyi.combat.service.apprisk.IYuequanaService;

/**
 * 越权aService业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-26
 */
@Service
public class YuequanaServiceImpl implements IYuequanaService 
{
    @Autowired
    private YuequanaMapper yuequanaMapper;

    /**
     * 查询越权a
     * 
     * @param AppID 越权a主键
     * @return 越权a
     */
    @Override
    public Yuequana selectYuequanaByAppID(Integer AppID)
    {
        return yuequanaMapper.selectYuequanaByAppID(AppID);
    }

    /**
     * 查询越权a列表
     * 
     * @param yuequana 越权a
     * @return 越权a
     */
    @Override
    public List<Yuequana> selectYuequanaList(Yuequana yuequana)
    {
        return yuequanaMapper.selectYuequanaList(yuequana);
    }

    /**
     * 新增越权a
     * 
     * @param yuequana 越权a
     * @return 结果
     */
    @Override
    public int insertYuequana(Yuequana yuequana)
    {
        return yuequanaMapper.insertYuequana(yuequana);
    }

    /**
     * 修改越权a
     * 
     * @param yuequana 越权a
     * @return 结果
     */
    @Override
    public int updateYuequana(Yuequana yuequana)
    {
        return yuequanaMapper.updateYuequana(yuequana);
    }

    /**
     * 批量删除越权a
     * 
     * @param AppIDs 需要删除的越权a主键
     * @return 结果
     */
    @Override
    public int deleteYuequanaByAppIDs(Integer[] AppIDs)
    {
        return yuequanaMapper.deleteYuequanaByAppIDs(AppIDs);
    }

    /**
     * 删除越权a信息
     * 
     * @param AppID 越权a主键
     * @return 结果
     */
    @Override
    public int deleteYuequanaByAppID(Integer AppID)
    {
        return yuequanaMapper.deleteYuequanaByAppID(AppID);
    }

    /**
     * 执行存储过程
     */
    @Override
    public void callAAAYuequana() {
        yuequanaMapper.callAAAYuequana();
    }
}
